<?php
/**
* File that contains BusLineController class.
* @package busmap
*/

/**
* BusLineController class shows the user buslines.
* @package busmap
*/
class BuslineController extends Zend_Controller_Action
{

	/**
	* Initialize function does nothing.
	*/
    public function init()
    {
        /* Initialize action controller here */
    }

	/**
	* Index fetches all buslines and sends them to view.
	*/
    public function indexAction()
    {
        $busline = new Application_Model_BusLineMapper();
        $entries = $busline->fetchAll();
		$this->view->entries = $entries;
    }

}
